package com.jash.labor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jash.labor.entity.StationFav;
import com.jash.labor.mapper.provider.StationFavSqlProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Mapper
@Repository
public interface StationFavMapper extends BaseMapper<StationFav> {
    @SelectProvider(value = StationFavSqlProvider.class,method = "laborQueryStationFavList")
    public IPage<HashMap> laborQueryStationFavList(Page page, Integer company_id);

}
